package cn.tx.service;

import java.util.List;

import cn.tx.util.Page;

public interface BaseService<T, Q> {
	
	public void save(T t);
	
	public void update(T t);
	
	public void delete(T t);
	
	public T getObjectById(Object objId);
	
	public List<T> listAll();
	
	public List<T> selectObjByCondition(Q q,List<String> exclude);
	
	public Page selectObjectByConditionPage(Q q,List<String> exclude);

}
